package com.xiaocikuai.smallchunks.entity.Transaction;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author1
 * @since 2024-07-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("yshop_promotional")
public class Promotional implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 优惠券id
     */
    @TableId(value = "promotional_id", type = IdType.AUTO)
    private Integer promotionalId;

    /**
     * 可用商品列表
     */
    @TableField("tid_list")
    private String tidList;

    /**
     * 优惠金额
     */
    @TableField("promotional_price")
    private Float promotionalPrice;

    /**
     * 创建时间
     */
    @TableField("create_time")
    private LocalDateTime createTime;

    /**
     * 到期时间
     */
    @TableField("expire_time")
    private LocalDateTime expireTime;
    private String content;
    private String name;
    private String introduce;




}
